]> dgit.raspbian.org Git - gnome-shell.git/commit
status/network: Hide sections if networking is disabled
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 6 Aug 2022 23:58:02 +0000 (01:58 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Aug 2022 16:37:15 +0000 (16:37 +0000)
commitcd9284e48fe7d7ba3c234fcf528b3db5f23cc94e
tree42de3746f3ccffba3638c72368f811187435628d
parent8e685246e2e46534da7dfcd5d5fd3419c32addc1
status/network: Hide sections if networking is disabled

When moving to quick settings, we will no longer have a single
parent we can hide instead.

This is only really needed for VPN - devices go away when networking
is disabled, connections (as in: configuration) do not - but it's
simpler to just handle this in the base class than adding a
_shouldBeVisible() method the VPN section can override.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2408>
js/ui/status/network.js